<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>边框</title>
		<style>
			*{
				margin: 0;
				padding: 0;
			}
			#d1{
				border-color: aqua;
				border-width: 20px 80px 40px 5px;
				border-style: ridge;
				padding: 40px;
			}
			#d2{
				width: 500px;
				height: 500px;
				border: 4px solid red;
				margin: 49px;
				background-color: bisque;
				padding: 20px;
				overflow: auto;
			}
			 
		</style>
	</head>
	<body>
		<!--- 优先考虑上和左 内边距 -->
		<div id="d1">
			<img src="../12-15/yuenan.jpg"/>
		</div>
		<div id="d2">
			<img src="../12-15/yuenan.jpg"/>
		</div>
	</body>
</html>